package cn.stylefeng.guns.modular.basic.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 装车报价表
 * </p>
 *
 * @author zhucx
 * @since 2024-01-26
 */
@Data
@TableName("basic_loading_quotation")
public class BasicLoadingQuotation implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 状态
     */
    @TableField("state")
    private String state;

    /**
     * 项目id
     */
    @TableField("operate_id")
    private Long operateId;

    /**
     * 所属项目
     */
    @TableField("operate_name")
    private String operateName;

    /**
     * 计价方式
     */
    @TableField("price_mode")
    private String priceMode;

    /**
     * 计价标准
     */
    @TableField("price")
    private String price;

    /**
     * 创建人
     */
    @TableField("create_user_name")
    private String createUserName;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 备注
     */
    @TableField("memo")
    private String memo;

    /**
     * v1
     */
    @TableField("v1")
    private String v1;

    /**
     * v2
     */
    @TableField("v2")
    private String v2;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 交付客户id
     */
    @TableField("deliver_id")
    private Long deliverId;

    @TableField("carrier_id")
    private Long carrierId;

    @TableField("carrier_name")
    private String carrierName;

    @TableField("line_id")
    private Long lineId;

    @TableField("line_name")
    private String lineName;

    @TableField("loading_type")
    private String loadingType;

    @Override
    public String toString() {
        return "BasicLoadingQuotation{" +
        "id=" + id +
        ", state=" + state +
        ", operateId=" + operateId +
        ", operateName=" + operateName +
        ", priceMode=" + priceMode +
        ", price=" + price +
        ", createUserName=" + createUserName +
        ", createTime=" + createTime +
        ", memo=" + memo +
        ", v1=" + v1 +
        ", v2=" + v2 +
        ", deptId=" + deptId +
        ", deliverId=" + deliverId +
        ", carrierId=" + carrierId +
        ", carrierName=" + carrierName +
        ", lineId=" + lineId +
        ", lineName=" + lineName +
        ", loadingType=" + loadingType +
        "}";
    }
}
